﻿@using Step4.Unit8.Modules;
@model RoleEditViewModel
@{
    ViewData["Title"] = "Edit";
}

<h2>编辑用户</h2>
<form asp-action="SubmitEdit" method="post">
    <input asp-for="Id" type="hidden" />
    <div class="text-danger" asp-validation-summary="ModelOnly" ></div>
    <div class="form-group row">
        <label asp-for="RoleName"></label>
        <div class="col-sm-10">
            <input class="form-control" asp-for="RoleName" />
            <span asp-validation-for="RoleName" class="text-danger"></span>
        </div>
    </div>
    <div class="form-group">
        <input type="submit" class="btn btn-primary" value="提交" />
        <a asp-action="Index" class="btn btn-secondary">返回列表</a>
    </div>
</form>

